package com.example.demo.repository;

import com.example.demo.entity.Order;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by pengwan on 2017/7/29.
 */
@Repository
public interface OrderRepository extends JpaRepository<Order, String> {
    List<Order> findAll(Specification<Order> specification);
}
